<h1>New page</h1>

<%= error_messages_for :page %>
<%= current_user.login %>
<% form_for(@page) do |f| %>
  <%= render	:partial => "new_page_form", :locals => {:f => f}%>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', pages_path %>
